home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Common / debug.h < prev    next >
Text File  |  1997-01-03  |  503b  |  23 lines

  1. //
  2. //  DEBUG.H
  3. //
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. void   DebugPrintf(char * lpFormatString, ...);
  11. void * DebugCoTaskMemAlloc(unsigned long cb);
  12. void * DebugCoTaskMemRealloc(void * pv, unsigned long cb);
  13. void   DebugCoTaskMemFree(void * pv);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17.  
  18. #ifdef CHECKMEMORYLEAKS
  19. #define CoTaskMemAlloc      DebugCoTaskMemAlloc
  20. #define CoTaskMemRealloc    DebugCoTaskMemRealloc
  21. #define CoTaskMemFree       DebugCoTaskMemFree
  22. #endif
  23.